<?php
if (isset ($msgList) && count($msgList) > 0) {
    foreach ($msgList as $msg) {
        ?>
        <div onclick="goto_dialog_show(<?= $msg->DialogId ?>,204)" style="padding: 5px 0 0 15px">
            <div class="am-fl" style="padding-top: 15px">
                <div class="app-main-backcolor app-admin-msg-flag">
                    <?php if ($msg->Type == 1) echo '反馈'; else echo '举报'; ?>
                </div>
            </div>
            <div class="am-text-xs app-admin-msg-content">
                <div style="padding: 10px 10px 0 0">
                    <span class="app-black-color"><?= $msg->MsgTittle ?></span>
                    <span class="app-gray-color am-fr"><?= $msg->MsgDt ?></span>
                </div>
                <div style="padding: 0 10px 0 0">
                    <span class="app-gray-color"><?= $msg->ReportUserName ?></span>
                </div>
                <div class="am-text-truncate app-border-bottom" style="padding: 5px 10px 5px 0; width: 100%">
            <span class="<?php
            if ($msg->SendUserId == 0) echo 'app-main-backcolor';
            else echo 'app-green-backcolor';
            ?> app-admin-msg-userflag"><?php if ($msg->SendUserId == 0) echo '管理员'; else echo '用户'; ?></span>
                    <span class="app-gray-color"><?= $msg->MsgText ?></span>
                </div>
            </div>
        </div>

    <?php }
    if (isset ($paginateMsg) && $paginateMsg != '') {
        echo $paginateMsg;
    }
} else {
    require("{$CfgPara->root}/view/warning_nocontent.app.v.php");
}
?>